const mongoose = require("mongoose");
const Schema = mongoose.Schema;

const productSchema = new Schema({
  id: {
    type: String,
    required: true
  },
  product: {
    type: Object,
    required: true
  },
  more: {
    type: Array,
    required: true
  }
});

const product = mongoose.model("Product", productSchema);
module.exports = product;
